//
//  BrandCollectionViewCell.m
//  AnXin100
//
//  Created by 王合润 on 10/18/18.
//  Copyright © 2018 tzhg. All rights reserved.
//

#import "BrandCollectionViewCell.h"

@implementation BrandCollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        _iconImage = [[UIImageView alloc] initWithFrame:CGRectMake(0, 10, self.mj_h - 20, self.mj_h - 20)];
        _iconImage.mj_x = (self.mj_w - _iconImage.mj_w) / 2.0;
        _iconImage.image = [UIImage imageNamed:@"brand"];
        _iconImage.layer.cornerRadius = _iconImage.mj_h / 2;
        _iconImage.layer.masksToBounds = YES;
        [self addSubview:_iconImage];
    }
    return self;
}


@end
